﻿using System;

namespace DAL.Utils
{
    public static class ExtensionMethods
    {
        public static void SafeInvoke(this EventHandler obj, object sender, EventArgs e)
        {
            if(obj != null)
                obj.Invoke(sender, e);
        }
    }
}
